#define _CRT_SECURE_NO_WARNINGS 1

#include<iostream>
using namespace std;
#include"priority_queue.h"

int main()
{
	tianci::priority_queue<int> pq;
	pq.push(3);
	pq.push(1);
	pq.push(4);
	pq.push(2);

	while (!pq.empty())
	{
		cout << pq.top() << " ";
		pq.pop();
	}


	return 0;
}